package com.weixing.mall.provider.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.weixing.mall.provider.mapper.AgentAccountBillMapper;
import com.weixing.mall.provider.model.domain.AgentAccountBill;
import com.weixing.mall.provider.model.query.AgentAccountBillQuery;
import com.weixing.mall.provider.model.vo.AgentAccountBillVo;
import com.weixing.mall.provider.service.IAgentAccountBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 代理商模块-代理商资金流水表 服务实现类
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
@Service
public class AgentAccountBillServiceImpl extends ServiceImpl<AgentAccountBillMapper, AgentAccountBill> implements IAgentAccountBillService {

    @Override
    public IPage<AgentAccountBillVo> billList(Page page, Long agentId, AgentAccountBillQuery query) {
        return baseMapper.billList(page,agentId, query);
    }
}
